<div class="body-cont">
  <div class="col-9 row">
        <div class="mod">
        <div class="mod-bread">
            <a href="index.php">Trang chủ </a> > 
            <a href="index.php?r=service/show">Dịch vụ</a> > 
            <a href="#">Dịch vụ tương tự</a>
        </div>
        <div class="pro-tit line-dot" style="height: 70px;">
            	<h1> Tất cả dịch vụ tương tự
                </h1>
                
        </div>
        <div class="mod">
            <div class="mod-tit"><a href="#">Công việc</a></div>
                <div class=" mod-cont">
                    <div class="table">
                        <table cellpadding="3" cellspacing="3" border="0" width="100%">
                        <tr>
                        <th width="20%">Avata</th>
                        <th width="40%">Dịch vụ</th>
                        <th width="10%">Giá</th>
                        <th width="15%">Người tạo</th>
                        <th  width="15%">Đặt hàng</th>
                    </tr>
                    <table>
                    </div>
                    
                    
                 <?php foreach ($model as $row) :?>
                <div class="table">
                  <!--div class="tag-new"><img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/new.png" /></div-->
                  <table cellpadding="3" cellspacing="3" border="0" width="100%">
                  <tr>
                    <td width="20%">
                         <?php echo CHtml::link(Services::getAvataMin($row->id),array('/service/create/view','id'=>$row->id)); ?>
                    </td>
                    <td width="40%">
                        
                            <?php
                                echo CHtml::link($row->name,array('/service/create/view','id'=>$row->id));
                            ?>
                         <p><?php
                                echo Services::CutString($row->description,200) . " ......";
                            ?></p>
                    
                    </td>
                    <td width="10%" align="center"><?php echo CHtml::encode($row->money); ?>$</td>
                    <td width="15%" align="center"> <a href="http://#"><?php echo User::getName($row->user_id); ?></a></td>
                    <td width="15%" align="center">
                        <span>
                         <?php echo CHtml::link('Đặt hàng',array('/service/create/view','id'=>$row->id)); ?>
                        </span>
                    
                    </td>
                  </tr>
                </table>
            	</div>
                <?php endforeach;
                $this->widget('CLinkPager', array(
                    'pages' => $pages,
                ));
                ?>
                   
            </div>
        </div>
        </div>
    </div>
        <div class="col-3 row">
            
		<div class="mod">
        	<div class="mod-tit"><a href="#">Tag dịch vụ</a></div>
        	<div class="mod-cont more-pro">
                
                <h4>
                <?php $this->widget('TagCloud', array(
                    'maxTags'=>20,
                )); ?>
                </h4>
            </div>
            <div class="clr"></div>
    	</div>
        <div class="clr"></div>
       
    </div>
</div>
        
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                
         
 